/**
 * 仓库
 */
export default {
    set uid(value) {
        localStorage.setItem('uid', value)
    },

    get uid() {
        return localStorage.getItem('uid')
    },
    set company_id(value) {
        localStorage.setItem('company_id', value)
    },

    get company_id() {
        return localStorage.getItem('company_id')
    },
    set rules(value) {
        localStorage.setItem('rules', value)
    },

    get rules() {
        return localStorage.getItem('rules')
    },

    set token(value) {
        localStorage.setItem('token', value)
    },

    get token() {
        return localStorage.getItem('token')
    },
    set token_timeout(value) {
        localStorage.setItem('token_timeout', value)
    },

    get token_timeout() {
        return localStorage.getItem('token_timeout')
    },
    set wx_code(value) {
        localStorage.setItem('wx_code', value)
    },
    get wx_code() {
        return localStorage.getItem('wx_code')
    },

    set Doctordata(value) {
        localStorage.setItem('Doctordata', JSON.stringify(value))
    },
    get Doctordata() {
        return JSON.parse(localStorage.getItem('Doctordata'));
    },

    set myName(value) {
        localStorage.setItem('myName', value)
    },
    get myName() {
        return localStorage.getItem('myName')
    },


}
